package com.ytjj.qmyx.admin.dao;

import com.ytjj.common.model.YxAlipayConfig;
import com.ytjj.qmyx.admin.model.request.PayConfigRequest;
import com.ytjj.qmyx.mall.model.PayConfig;

import java.util.List;

public interface PayConfigDao {

    List list(PayConfigRequest payConfigRequest);

    int updateById(PayConfigRequest payConfigRequest);

    /**
     * 获取微信商户的配置信息
     */
    PayConfig getOnePayConfigByMchId(String mchId,String type);

    YxAlipayConfig findAliPayByAccount(String account);
}
